package com.doctor.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.doctor.entity.Case;

public interface CaseRepository extends JpaRepository<Case, Long>{
	
	List<Case> findByTypeIdOrderByCreateTimeDesc(int typeId);
}